pipeline{
  agent any
  environment {
    version = '1.1.1'
    envType = 'dev'
  }
  stages{
    stage('build'){
      environment {
        version = '1.1.2'
      }
      steps{
        echo "${version}"
        echo "${envType}"
      }
    }
  }
}